<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>人脸属性检测</title>
    <style type="text/css">

    </style>
</head>
<body>

<img src="images/${imgPath}"/>


<table border="1" width="100%">
    <tr>
        <td>人脸</td>
        <td>人脸图片质量是否合格</td>
        <td>人脸佩戴眼镜的情况</td>
        <td>人脸性别</td>
        <td>人脸年龄</td>
        <td>人脸的微笑程度</td>
    </tr>
    <c:forEach items="${result}" var="item" varStatus="varr">
        <tr>
            <td>人脸 ${varr.count}</td>
            <td>${item.qualified }</td>
            <td>${item.glasses.value }</td>
            <td>${item.gender.value }</td>
            <td>${item.age.value }</td>
            <td>${item.smile.rate } || ${item.smile.value }</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>